package com.example.resourceSharingPlatform.entity;

public class Account {
    private String id;//take user's id as foreign key (delete/update cascade)
    private double balance;//money remains
    private int credit;//points of the user's credit

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }
}
